<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SCoursewareInfo extends Model
{
    use SoftDeletes;
    public $table = "s_courseware_info";

    protected $fillable = [
        // 'name', 'pic_type', 'pic_url', 'to_url', 'course_type', 'admin_id', 'created_at'
    ];

    public function adminUser()
    {
        return $this->belongsTo('App\Models\AdminUsers', 'admin_id');
    }

}
